.class public abstract Lcom/brixd/niceapp/community/CommunityAppBaseFragment;
.super Lcom/brixd/niceapp/community/AbsCommunityBaseFragment;
.source "CommunityAppBaseFragment.java"


# static fields
.field protected static final PAGE_INITIAL_VALUE:I = 0x1

.field protected static final POS_INITIAL_VALUE:I = -0x1

.field protected static final REQUEST_CODE_DETAIL:I = 0xa

.field public static final SOURCE_COMMUNITY:Ljava/lang/String; = "community"

.field public static final SOURCE_DAILY:Ljava/lang/String; = "daily"


# instance fields
.field protected mAdapter:Landroid/widget/BaseAdapter;

.field protected mAppModels:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/community/model/CommunityAppModel;",
            ">;"
        }
    .end annotation
.end field

.field mCallback:Lretrofit/Callback;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lretrofit/Callback",
            "<",
            "Lorg/json/JSONObject;",
            ">;"
        }
    .end annotation
.end field

.field protected mCommonUser:Lcom/brixd/niceapp/model/CommonUserModel;

.field private mCurPage:I

.field private mDelayLoad:Z

.field private mExecutor:Ljava/util/concurrent/Executor;

.field protected mExtraModels:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/community/model/CommunityAppModel;",
            ">;"
        }
    .end annotation
.end field

.field private mHasMoreData:Z

.field protected mHeaderView:Landroid/view/View;

.field private mIsRequesting:Z

.field private mIsScrollToEnd:Z

.field private mLastAppPos:I

.field protected final mMutex:[I

.field private mOnScrollListener:Landroid/widget/AbsListView$OnScrollListener;

.field private mOnTouchListener:Landroid/view/View$OnTouchListener;

.field private mOrder:Ljava/lang/String;

.field private mProgressHUD:Lcom/zuiapps/suite/utils/hud/ProgressHUD;

.field protected mPullToRefreshView:Lcom/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase",
            "<*>;"
        }
    .end annotation
.end field

.field protected mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

.field private mTag:Lcom/brixd/niceapp/model/TagModel;

.field protected mType:I


# direct methods
.method public constructor <init>()V
    .registers 4

    .prologue
    const/4 v2, 0x1

    const/4 v1, 0x0

    .line 54
    invoke-direct {p0}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment;-><init>()V

    .line 66
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mExtraModels:Ljava/util/ArrayList;

    .line 67
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mAppModels:Ljava/util/ArrayList;

    .line 69
    iput v2, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCurPage:I

    .line 70
    const/4 v0, -0x1

    iput v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mLastAppPos:I

    .line 71
    iput-boolean v2, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mHasMoreData:Z

    .line 72
    iput-boolean v1, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mIsRequesting:Z

    .line 73
    iput-boolean v1, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mIsScrollToEnd:Z

    .line 74
    iput-boolean v2, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mDelayLoad:Z

    .line 76
    new-array v0, v1, [I

    iput-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mMutex:[I

    .line 91
    invoke-static {}, Ljava/util/concurrent/Executors;->newSingleThreadExecutor()Ljava/util/concurrent/ExecutorService;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mExecutor:Ljava/util/concurrent/Executor;

    .line 296
    new-instance v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment$6;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/community/CommunityAppBaseFragment$6;-><init>(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;)V

    iput-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCallback:Lretrofit/Callback;

    return-void
.end method

.method static synthetic access$000(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;)I
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/CommunityAppBaseFragment;

    .prologue
    .line 54
    iget v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCurPage:I

    return v0
.end method

.method static synthetic access$002(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;I)I
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/CommunityAppBaseFragment;
    .param p1, "x1"    # I

    .prologue
    .line 54
    iput p1, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCurPage:I

    return p1
.end method

.method static synthetic access$008(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;)I
    .registers 3
    .param p0, "x0"    # Lcom/brixd/niceapp/community/CommunityAppBaseFragment;

    .prologue
    .line 54
    iget v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCurPage:I

    add-int/lit8 v1, v0, 0x1

    iput v1, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCurPage:I

    return v0
.end method

.method static synthetic access$010(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;)I
    .registers 3
    .param p0, "x0"    # Lcom/brixd/niceapp/community/CommunityAppBaseFragment;

    .prologue
    .line 54
    iget v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCurPage:I

    add-int/lit8 v1, v0, -0x1

    iput v1, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCurPage:I

    return v0
.end method

.method static synthetic access$100(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;)I
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/CommunityAppBaseFragment;

    .prologue
    .line 54
    iget v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mLastAppPos:I

    return v0
.end method

.method static synthetic access$1000(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;)V
    .registers 1
    .param p0, "x0"    # Lcom/brixd/niceapp/community/CommunityAppBaseFragment;

    .prologue
    .line 54
    invoke-direct {p0}, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->cacheAppModels()V

    return-void
.end method

.method static synthetic access$102(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;I)I
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/CommunityAppBaseFragment;
    .param p1, "x1"    # I

    .prologue
    .line 54
    iput p1, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mLastAppPos:I

    return p1
.end method

.method static synthetic access$1100(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;)Landroid/os/Handler;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/CommunityAppBaseFragment;

    .prologue
    .line 54
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mHandler:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic access$200(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/CommunityAppBaseFragment;

    .prologue
    .line 54
    iget-boolean v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mIsRequesting:Z

    return v0
.end method

.method static synthetic access$202(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;Z)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/CommunityAppBaseFragment;
    .param p1, "x1"    # Z

    .prologue
    .line 54
    iput-boolean p1, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mIsRequesting:Z

    return p1
.end method

.method static synthetic access$300(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;)V
    .registers 1
    .param p0, "x0"    # Lcom/brixd/niceapp/community/CommunityAppBaseFragment;

    .prologue
    .line 54
    invoke-direct {p0}, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->fetchData()V

    return-void
.end method

.method static synthetic access$400(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/CommunityAppBaseFragment;

    .prologue
    .line 54
    iget-boolean v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mHasMoreData:Z

    return v0
.end method

.method static synthetic access$402(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;Z)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/CommunityAppBaseFragment;
    .param p1, "x1"    # Z

    .prologue
    .line 54
    iput-boolean p1, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mHasMoreData:Z

    return p1
.end method

.method static synthetic access$500(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;)Landroid/view/View$OnTouchListener;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/CommunityAppBaseFragment;

    .prologue
    .line 54
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mOnTouchListener:Landroid/view/View$OnTouchListener;

    return-object v0
.end method

.method static synthetic access$600(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;)Landroid/widget/AbsListView$OnScrollListener;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/CommunityAppBaseFragment;

    .prologue
    .line 54
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mOnScrollListener:Landroid/widget/AbsListView$OnScrollListener;

    return-object v0
.end method

.method static synthetic access$700(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/CommunityAppBaseFragment;

    .prologue
    .line 54
    iget-boolean v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mIsScrollToEnd:Z

    return v0
.end method

.method static synthetic access$702(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;Z)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/CommunityAppBaseFragment;
    .param p1, "x1"    # Z

    .prologue
    .line 54
    iput-boolean p1, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mIsScrollToEnd:Z

    return p1
.end method

.method static synthetic access$800(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;)Landroid/os/Handler;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/CommunityAppBaseFragment;

    .prologue
    .line 54
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mHandler:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic access$900(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/CommunityAppBaseFragment;

    .prologue
    .line 54
    iget-boolean v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mDelayLoad:Z

    return v0
.end method

.method static synthetic access$902(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;Z)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/CommunityAppBaseFragment;
    .param p1, "x1"    # Z

    .prologue
    .line 54
    iput-boolean p1, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mDelayLoad:Z

    return p1
.end method

.method private cacheAppModels()V
    .registers 3

    .prologue
    .line 380
    iget v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    sget-object v1, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_User:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-virtual {v1}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v1

    if-eq v0, v1, :cond_1e

    iget v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    sget-object v1, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Fav:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-virtual {v1}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v1

    if-eq v0, v1, :cond_1e

    iget v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    sget-object v1, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Tag:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    .line 381
    invoke-virtual {v1}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v1

    if-ne v0, v1, :cond_1f

    .line 404
    :cond_1e
    :goto_1e
    return-void

    .line 385
    :cond_1f
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mExecutor:Ljava/util/concurrent/Executor;

    new-instance v1, Lcom/brixd/niceapp/community/CommunityAppBaseFragment$7;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/community/CommunityAppBaseFragment$7;-><init>(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V

    goto :goto_1e
.end method

.method private fetchData()V
    .registers 14

    .prologue
    const/16 v3, 0x14

    const/4 v4, 0x2

    .line 267
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mIsRequesting:Z

    .line 268
    iget v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    sget-object v1, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Hot:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-virtual {v1}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v1

    if-ne v0, v1, :cond_1a

    .line 269
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    iget v1, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCurPage:I

    iget-object v2, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCallback:Lretrofit/Callback;

    invoke-interface {v0, v1, v3, v4, v2}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->queryCommunityHotApps(IIILretrofit/Callback;)V

    .line 294
    :cond_19
    :goto_19
    return-void

    .line 270
    :cond_1a
    iget v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    sget-object v1, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_New:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-virtual {v1}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v1

    if-ne v0, v1, :cond_2e

    .line 271
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    iget v1, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mLastAppPos:I

    iget-object v2, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCallback:Lretrofit/Callback;

    invoke-interface {v0, v1, v3, v4, v2}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->queryCommunityNewApps(IIILretrofit/Callback;)V

    goto :goto_19

    .line 272
    :cond_2e
    iget v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    sget-object v1, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Testing:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-virtual {v1}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v1

    if-ne v0, v1, :cond_42

    .line 273
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    iget v1, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mLastAppPos:I

    iget-object v2, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCallback:Lretrofit/Callback;

    invoke-interface {v0, v1, v3, v4, v2}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->queryCommunityTestApps(IIILretrofit/Callback;)V

    goto :goto_19

    .line 274
    :cond_42
    iget v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    sget-object v1, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_User:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-virtual {v1}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v1

    if-ne v0, v1, :cond_60

    .line 275
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCommonUser:Lcom/brixd/niceapp/model/CommonUserModel;

    if-eqz v0, :cond_19

    .line 276
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    iget-object v1, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCommonUser:Lcom/brixd/niceapp/model/CommonUserModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/CommonUserModel;->getUserId()I

    move-result v1

    iget v2, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCurPage:I

    iget-object v5, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCallback:Lretrofit/Callback;

    invoke-interface/range {v0 .. v5}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->queryCommunityUserApps(IIIILretrofit/Callback;)V

    goto :goto_19

    .line 278
    :cond_60
    iget v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    sget-object v1, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Fav:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-virtual {v1}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v1

    if-ne v0, v1, :cond_7e

    .line 279
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCommonUser:Lcom/brixd/niceapp/model/CommonUserModel;

    if-eqz v0, :cond_19

    .line 280
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    iget-object v1, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCommonUser:Lcom/brixd/niceapp/model/CommonUserModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/CommonUserModel;->getUserId()I

    move-result v1

    iget v2, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCurPage:I

    iget-object v5, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCallback:Lretrofit/Callback;

    invoke-interface/range {v0 .. v5}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->queryPersonalFavApps(IIIILretrofit/Callback;)V

    goto :goto_19

    .line 282
    :cond_7e
    iget v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    sget-object v1, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Tag:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-virtual {v1}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v1

    if-ne v0, v1, :cond_19

    .line 283
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mTag:Lcom/brixd/niceapp/model/TagModel;

    if-nez v0, :cond_90

    .line 284
    invoke-virtual {p0}, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->hideDialog()V

    goto :goto_19

    .line 286
    :cond_90
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mTag:Lcom/brixd/niceapp/model/TagModel;

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/TagModel;->getId()I

    move-result v0

    if-lez v0, :cond_af

    .line 287
    iget-object v5, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mTag:Lcom/brixd/niceapp/model/TagModel;

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/TagModel;->getId()I

    move-result v6

    const-string v7, "zuimei.community"

    iget-object v8, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mOrder:Ljava/lang/String;

    iget v10, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCurPage:I

    iget-object v12, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCallback:Lretrofit/Callback;

    move v9, v4

    move v11, v3

    invoke-interface/range {v5 .. v12}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->queryAppsByTag(ILjava/lang/String;Ljava/lang/String;IIILretrofit/Callback;)V

    goto/16 :goto_19

    .line 289
    :cond_af
    iget-object v5, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mTag:Lcom/brixd/niceapp/model/TagModel;

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/TagModel;->getTitle()Ljava/lang/String;

    move-result-object v6

    const-string v7, "zuimei.community"

    iget-object v8, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mOrder:Ljava/lang/String;

    iget v10, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCurPage:I

    iget-object v12, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCallback:Lretrofit/Callback;

    move v9, v4

    move v11, v3

    invoke-interface/range {v5 .. v12}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->queryAppsByTagTitle(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IIILretrofit/Callback;)V

    goto/16 :goto_19
.end method


# virtual methods
.method public delApp(Lcom/brixd/niceapp/community/model/CommunityAppModel;)V
    .registers 6
    .param p1, "delModel"    # Lcom/brixd/niceapp/community/model/CommunityAppModel;

    .prologue
    .line 435
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_1
    iget-object v2, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mAppModels:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    iget-object v3, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mExtraModels:Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v3

    sub-int/2addr v2, v3

    if-ge v0, v2, :cond_33

    .line 436
    iget-object v2, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mAppModels:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/brixd/niceapp/community/model/CommunityAppModel;

    .line 437
    .local v1, "model":Lcom/brixd/niceapp/community/model/CommunityAppModel;
    invoke-virtual {v1}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->getId()I

    move-result v2

    invoke-virtual {p1}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->getId()I

    move-result v3

    if-ne v2, v3, :cond_34

    .line 438
    iget-object v2, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mAppModels:Ljava/util/ArrayList;

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    .line 439
    iget-object v2, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mAdapter:Landroid/widget/BaseAdapter;

    invoke-virtual {v2}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V

    .line 441
    const/16 v2, 0x14

    if-gt v0, v2, :cond_33

    .line 442
    invoke-direct {p0}, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->cacheAppModels()V

    .line 447
    .end local v1    # "model":Lcom/brixd/niceapp/community/model/CommunityAppModel;
    :cond_33
    return-void

    .line 435
    .restart local v1    # "model":Lcom/brixd/niceapp/community/model/CommunityAppModel;
    :cond_34
    add-int/lit8 v0, v0, 0x1

    goto :goto_1
.end method

.method public editApp(Lcom/brixd/niceapp/community/model/CommunityAppModel;)V
    .registers 6
    .param p1, "editModel"    # Lcom/brixd/niceapp/community/model/CommunityAppModel;

    .prologue
    .line 455
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_1
    iget-object v2, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mAppModels:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    iget-object v3, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mExtraModels:Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v3

    sub-int/2addr v2, v3

    if-ge v0, v2, :cond_38

    .line 456
    iget-object v2, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mAppModels:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/brixd/niceapp/community/model/CommunityAppModel;

    .line 457
    .local v1, "model":Lcom/brixd/niceapp/community/model/CommunityAppModel;
    invoke-virtual {v1}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->getId()I

    move-result v2

    invoke-virtual {p1}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->getId()I

    move-result v3

    if-ne v2, v3, :cond_39

    .line 459
    iget-object v2, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mAppModels:Ljava/util/ArrayList;

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    .line 460
    iget-object v2, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mAppModels:Ljava/util/ArrayList;

    invoke-virtual {v2, v0, p1}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V

    .line 461
    iget-object v2, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mAdapter:Landroid/widget/BaseAdapter;

    invoke-virtual {v2}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V

    .line 463
    const/16 v2, 0x14

    if-gt v0, v2, :cond_38

    .line 464
    invoke-direct {p0}, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->cacheAppModels()V

    .line 471
    .end local v1    # "model":Lcom/brixd/niceapp/community/model/CommunityAppModel;
    :cond_38
    return-void

    .line 455
    .restart local v1    # "model":Lcom/brixd/niceapp/community/model/CommunityAppModel;
    :cond_39
    add-int/lit8 v0, v0, 0x1

    goto :goto_1
.end method

.method public favStatusChanged(Lcom/brixd/niceapp/community/model/CommunityAppModel;)V
    .registers 7
    .param p1, "sourceModel"    # Lcom/brixd/niceapp/community/model/CommunityAppModel;

    .prologue
    .line 497
    invoke-static {}, Lcom/brixd/niceapp/service/UserService;->getLoginUser()Lcom/brixd/niceapp/model/UserModel;

    move-result-object v2

    .line 498
    .local v2, "userModel":Lcom/brixd/niceapp/model/UserModel;
    if-eqz v2, :cond_28

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/UserModel;->getUid()I

    move-result v3

    iget-object v4, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCommonUser:Lcom/brixd/niceapp/model/CommonUserModel;

    invoke-virtual {v4}, Lcom/brixd/niceapp/model/CommonUserModel;->getUserId()I

    move-result v4

    if-ne v3, v4, :cond_28

    .line 499
    invoke-virtual {p1}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->isFavored()Z

    move-result v3

    if-eqz v3, :cond_29

    .line 500
    iget-object v3, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mAppModels:Ljava/util/ArrayList;

    iget-object v4, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mExtraModels:Ljava/util/ArrayList;

    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v4

    invoke-virtual {v3, v4, p1}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V

    .line 511
    :cond_23
    :goto_23
    iget-object v3, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mAdapter:Landroid/widget/BaseAdapter;

    invoke-virtual {v3}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V

    .line 514
    :cond_28
    return-void

    .line 502
    :cond_29
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_2a
    iget-object v3, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mAppModels:Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v3

    iget-object v4, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mExtraModels:Ljava/util/ArrayList;

    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v4

    sub-int/2addr v3, v4

    if-ge v0, v3, :cond_23

    .line 503
    iget-object v3, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mAppModels:Ljava/util/ArrayList;

    invoke-virtual {v3, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/brixd/niceapp/community/model/CommunityAppModel;

    .line 504
    .local v1, "model":Lcom/brixd/niceapp/community/model/CommunityAppModel;
    invoke-virtual {v1}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->getId()I

    move-result v3

    invoke-virtual {p1}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->getId()I

    move-result v4

    if-ne v3, v4, :cond_51

    .line 505
    iget-object v3, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mAppModels:Ljava/util/ArrayList;

    invoke-virtual {v3, v1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    goto :goto_23

    .line 502
    :cond_51
    add-int/lit8 v0, v0, 0x1

    goto :goto_2a
.end method

.method protected getShadowHeaderView()Landroid/view/View;
    .registers 2

    .prologue
    .line 228
    const/4 v0, 0x0

    return-object v0
.end method

.method protected hideDialog()V
    .registers 2

    .prologue
    .line 374
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mProgressHUD:Lcom/zuiapps/suite/utils/hud/ProgressHUD;

    if-eqz v0, :cond_19

    invoke-virtual {p0}, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    if-eqz v0, :cond_19

    invoke-virtual {p0}, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/FragmentActivity;->isFinishing()Z

    move-result v0

    if-nez v0, :cond_19

    .line 375
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mProgressHUD:Lcom/zuiapps/suite/utils/hud/ProgressHUD;

    invoke-virtual {v0}, Lcom/zuiapps/suite/utils/hud/ProgressHUD;->dismiss()V

    .line 377
    :cond_19
    return-void
.end method

.method protected initActions(Landroid/view/View;)V
    .registers 4
    .param p1, "fragmentView"    # Landroid/view/View;

    .prologue
    .line 117
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mPullToRefreshView:Lcom/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase;

    instance-of v0, v0, Lcom/handmark/pulltorefresh/library/PullToRefreshListView;

    if-eqz v0, :cond_2d

    .line 118
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mPullToRefreshView:Lcom/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase;

    check-cast v0, Lcom/handmark/pulltorefresh/library/PullToRefreshListView;

    new-instance v1, Lcom/brixd/niceapp/community/CommunityAppBaseFragment$1;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/community/CommunityAppBaseFragment$1;-><init>(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;)V

    invoke-virtual {v0, v1}, Lcom/handmark/pulltorefresh/library/PullToRefreshListView;->setOnRefreshListener(Lcom/handmark/pulltorefresh/library/PullToRefreshBase$OnRefreshListener2;)V

    .line 163
    :cond_12
    :goto_12
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mPullToRefreshView:Lcom/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase;

    invoke-virtual {v0}, Lcom/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase;->getRefreshableView()Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/AbsListView;

    new-instance v1, Lcom/brixd/niceapp/community/CommunityAppBaseFragment$3;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/community/CommunityAppBaseFragment$3;-><init>(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;)V

    invoke-virtual {v0, v1}, Landroid/widget/AbsListView;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    .line 174
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mPullToRefreshView:Lcom/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase;

    new-instance v1, Lcom/brixd/niceapp/community/CommunityAppBaseFragment$4;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/community/CommunityAppBaseFragment$4;-><init>(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;)V

    invoke-virtual {v0, v1}, Lcom/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase;->setOnScrollListener(Landroid/widget/AbsListView$OnScrollListener;)V

    .line 225
    return-void

    .line 139
    :cond_2d
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mPullToRefreshView:Lcom/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase;

    instance-of v0, v0, Lcom/handmark/pulltorefresh/library/PullToRefreshGridView;

    if-eqz v0, :cond_12

    .line 140
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mPullToRefreshView:Lcom/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase;

    check-cast v0, Lcom/handmark/pulltorefresh/library/PullToRefreshGridView;

    new-instance v1, Lcom/brixd/niceapp/community/CommunityAppBaseFragment$2;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/community/CommunityAppBaseFragment$2;-><init>(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;)V

    invoke-virtual {v0, v1}, Lcom/handmark/pulltorefresh/library/PullToRefreshGridView;->setOnRefreshListener(Lcom/handmark/pulltorefresh/library/PullToRefreshBase$OnRefreshListener2;)V

    goto :goto_12
.end method

.method protected initData()V
    .registers 3

    .prologue
    .line 111
    invoke-virtual {p0}, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->getArguments()Landroid/os/Bundle;

    move-result-object v0

    const-string v1, "Type"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    .line 112
    invoke-virtual {p0}, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/brixd/niceapp/service/adapter/ReqRestAdapter;->niceAppAdapter(Landroid/content/Context;)Lretrofit/RestAdapter;

    move-result-object v0

    const-class v1, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    invoke-virtual {v0, v1}, Lretrofit/RestAdapter;->create(Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    iput-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    .line 113
    return-void
.end method

.method public onActivityCreated(Landroid/os/Bundle;)V
    .registers 4
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 233
    invoke-super {p0, p1}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment;->onActivityCreated(Landroid/os/Bundle;)V

    .line 234
    invoke-virtual {p0}, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->showDialog()V

    .line 236
    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Lcom/brixd/niceapp/community/CommunityAppBaseFragment$5;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/community/CommunityAppBaseFragment$5;-><init>(Lcom/brixd/niceapp/community/CommunityAppBaseFragment;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    .line 262
    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    .line 264
    return-void
.end method

.method public onActivityResult(IILandroid/content/Intent;)V
    .registers 20
    .param p1, "requestCode"    # I
    .param p2, "resultCode"    # I
    .param p3, "data"    # Landroid/content/Intent;

    .prologue
    .line 518
    invoke-super/range {p0 .. p3}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment;->onActivityResult(IILandroid/content/Intent;)V

    .line 519
    const/16 v13, 0xa

    move/from16 v0, p1

    if-ne v0, v13, :cond_65

    const/4 v13, -0x1

    move/from16 v0, p2

    if-ne v0, v13, :cond_65

    .line 520
    const-string v13, "ModelPosition"

    const/4 v14, -0x1

    move-object/from16 v0, p3

    invoke-virtual {v0, v13, v14}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v10

    .line 521
    .local v10, "position":I
    if-ltz v10, :cond_65

    move-object/from16 v0, p0

    iget-object v13, v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mAppModels:Ljava/util/ArrayList;

    invoke-virtual {v13}, Ljava/util/ArrayList;->size()I

    move-result v13

    if-le v13, v10, :cond_65

    .line 523
    const-string v13, "Del"

    const/4 v14, 0x0

    move-object/from16 v0, p3

    invoke-virtual {v0, v13, v14}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v3

    .line 524
    .local v3, "delApp":Z
    if-eqz v3, :cond_f4

    .line 526
    move-object/from16 v0, p0

    iget v13, v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    sget-object v14, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Fav:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-virtual {v14}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v14

    if-ne v13, v14, :cond_66

    .line 527
    move-object/from16 v0, p0

    iget-object v13, v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mAppModels:Ljava/util/ArrayList;

    invoke-virtual {v13, v10}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/brixd/niceapp/community/model/CommunityAppModel;

    .line 533
    .local v4, "delModel":Lcom/brixd/niceapp/community/model/CommunityAppModel;
    :goto_44
    const/16 v13, 0x14

    if-gt v10, v13, :cond_4b

    .line 534
    invoke-direct/range {p0 .. p0}, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->cacheAppModels()V

    .line 537
    :cond_4b
    move-object/from16 v0, p0

    iget v13, v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    sget-object v14, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Hot:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-virtual {v14}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v14

    if-ne v13, v14, :cond_78

    .line 538
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v13

    new-instance v14, Lcom/brixd/niceapp/bus/event/DelCommunityAppModelEvent;

    sget-object v15, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_New:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-direct {v14, v15, v4}, Lcom/brixd/niceapp/bus/event/DelCommunityAppModelEvent;-><init>(Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;Lcom/brixd/niceapp/community/model/CommunityAppModel;)V

    invoke-virtual {v13, v14}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    .line 632
    .end local v3    # "delApp":Z
    .end local v4    # "delModel":Lcom/brixd/niceapp/community/model/CommunityAppModel;
    .end local v10    # "position":I
    :cond_65
    :goto_65
    return-void

    .line 529
    .restart local v3    # "delApp":Z
    .restart local v10    # "position":I
    :cond_66
    move-object/from16 v0, p0

    iget-object v13, v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mAppModels:Ljava/util/ArrayList;

    invoke-virtual {v13, v10}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/brixd/niceapp/community/model/CommunityAppModel;

    .line 530
    .restart local v4    # "delModel":Lcom/brixd/niceapp/community/model/CommunityAppModel;
    move-object/from16 v0, p0

    iget-object v13, v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mAdapter:Landroid/widget/BaseAdapter;

    invoke-virtual {v13}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V

    goto :goto_44

    .line 539
    :cond_78
    move-object/from16 v0, p0

    iget v13, v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    sget-object v14, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_New:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-virtual {v14}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v14

    if-ne v13, v14, :cond_93

    .line 540
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v13

    new-instance v14, Lcom/brixd/niceapp/bus/event/DelCommunityAppModelEvent;

    sget-object v15, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Hot:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-direct {v14, v15, v4}, Lcom/brixd/niceapp/bus/event/DelCommunityAppModelEvent;-><init>(Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;Lcom/brixd/niceapp/community/model/CommunityAppModel;)V

    invoke-virtual {v13, v14}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    goto :goto_65

    .line 541
    :cond_93
    move-object/from16 v0, p0

    iget v13, v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    sget-object v14, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_User:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-virtual {v14}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v14

    if-ne v13, v14, :cond_bc

    .line 542
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v13

    new-instance v14, Lcom/brixd/niceapp/bus/event/DelCommunityAppModelEvent;

    sget-object v15, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_New:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-direct {v14, v15, v4}, Lcom/brixd/niceapp/bus/event/DelCommunityAppModelEvent;-><init>(Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;Lcom/brixd/niceapp/community/model/CommunityAppModel;)V

    invoke-virtual {v13, v14}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    .line 543
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v13

    new-instance v14, Lcom/brixd/niceapp/bus/event/DelCommunityAppModelEvent;

    sget-object v15, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Hot:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-direct {v14, v15, v4}, Lcom/brixd/niceapp/bus/event/DelCommunityAppModelEvent;-><init>(Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;Lcom/brixd/niceapp/community/model/CommunityAppModel;)V

    invoke-virtual {v13, v14}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    goto :goto_65

    .line 544
    :cond_bc
    move-object/from16 v0, p0

    iget v13, v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    sget-object v14, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Fav:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-virtual {v14}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v14

    if-ne v13, v14, :cond_65

    .line 545
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v13

    new-instance v14, Lcom/brixd/niceapp/bus/event/DelCommunityAppModelEvent;

    sget-object v15, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_New:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-direct {v14, v15, v4}, Lcom/brixd/niceapp/bus/event/DelCommunityAppModelEvent;-><init>(Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;Lcom/brixd/niceapp/community/model/CommunityAppModel;)V

    invoke-virtual {v13, v14}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    .line 546
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v13

    new-instance v14, Lcom/brixd/niceapp/bus/event/DelCommunityAppModelEvent;

    sget-object v15, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Hot:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-direct {v14, v15, v4}, Lcom/brixd/niceapp/bus/event/DelCommunityAppModelEvent;-><init>(Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;Lcom/brixd/niceapp/community/model/CommunityAppModel;)V

    invoke-virtual {v13, v14}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    .line 547
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v13

    new-instance v14, Lcom/brixd/niceapp/bus/event/DelCommunityAppModelEvent;

    sget-object v15, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_User:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-direct {v14, v15, v4}, Lcom/brixd/niceapp/bus/event/DelCommunityAppModelEvent;-><init>(Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;Lcom/brixd/niceapp/community/model/CommunityAppModel;)V

    invoke-virtual {v13, v14}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    goto/16 :goto_65

    .line 554
    .end local v4    # "delModel":Lcom/brixd/niceapp/community/model/CommunityAppModel;
    :cond_f4
    move-object/from16 v0, p0

    iget-object v13, v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mAppModels:Ljava/util/ArrayList;

    invoke-virtual {v13, v10}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Lcom/brixd/niceapp/community/model/CommunityAppModel;

    .line 555
    .local v9, "oldModel":Lcom/brixd/niceapp/community/model/CommunityAppModel;
    const-string v13, "Edit"

    const/4 v14, 0x0

    move-object/from16 v0, p3

    invoke-virtual {v0, v13, v14}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v5

    .line 556
    .local v5, "editApp":Z
    if-eqz v5, :cond_243

    .line 557
    const-string v13, "AppModel"

    move-object/from16 v0, p3

    invoke-virtual {v0, v13}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v1

    check-cast v1, Lcom/brixd/niceapp/community/model/CommunityAppModel;

    .line 558
    .local v1, "appModel":Lcom/brixd/niceapp/community/model/CommunityAppModel;
    move-object/from16 v0, p0

    iget-object v13, v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mAppModels:Ljava/util/ArrayList;

    invoke-virtual {v13, v10}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    .line 559
    move-object/from16 v0, p0

    iget-object v13, v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mAppModels:Ljava/util/ArrayList;

    invoke-virtual {v13, v10, v1}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V

    .line 560
    move-object/from16 v0, p0

    iget v13, v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    sget-object v14, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Fav:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-virtual {v14}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v14

    if-ne v13, v14, :cond_13b

    .line 561
    invoke-virtual {v9}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->getSource()Ljava/lang/String;

    move-result-object v13

    invoke-virtual {v1, v13}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->setSource(Ljava/lang/String;)V

    .line 562
    invoke-virtual {v9}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->getSourceTitle()Ljava/lang/String;

    move-result-object v13

    invoke-virtual {v1, v13}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->setSourceTitle(Ljava/lang/String;)V

    .line 565
    :cond_13b
    move-object/from16 v0, p0

    iget-object v13, v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mAdapter:Landroid/widget/BaseAdapter;

    invoke-virtual {v13}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V

    .line 567
    move-object v8, v1

    .line 569
    .local v8, "newModel":Lcom/brixd/niceapp/community/model/CommunityAppModel;
    const/16 v13, 0x14

    if-gt v10, v13, :cond_14a

    .line 570
    invoke-direct/range {p0 .. p0}, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->cacheAppModels()V

    .line 573
    :cond_14a
    move-object/from16 v0, p0

    iget v13, v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    sget-object v14, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Hot:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-virtual {v14}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v14

    if-ne v13, v14, :cond_1f1

    .line 574
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v13

    new-instance v14, Lcom/brixd/niceapp/bus/event/EditCommunityAppModelEvent;

    sget-object v15, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_New:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-direct {v14, v15, v1}, Lcom/brixd/niceapp/bus/event/EditCommunityAppModelEvent;-><init>(Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;Lcom/brixd/niceapp/community/model/CommunityAppModel;)V

    invoke-virtual {v13, v14}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    .line 593
    .end local v1    # "appModel":Lcom/brixd/niceapp/community/model/CommunityAppModel;
    :cond_164
    :goto_164
    move-object/from16 v0, p0

    invoke-virtual {v0, v8}, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->updateBottomNums(Lcom/brixd/niceapp/community/model/CommunityAppModel;)V

    .line 595
    move-object/from16 v0, p0

    iget v13, v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    sget-object v14, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Hot:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-virtual {v14}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v14

    if-ne v13, v14, :cond_288

    .line 596
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v13

    new-instance v14, Lcom/brixd/niceapp/bus/event/UpdateBottomNumsEvent;

    sget-object v15, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_New:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-direct {v14, v15, v8}, Lcom/brixd/niceapp/bus/event/UpdateBottomNumsEvent;-><init>(Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;Lcom/brixd/niceapp/community/model/CommunityAppModel;)V

    invoke-virtual {v13, v14}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    .line 609
    :cond_183
    :goto_183
    move-object/from16 v0, p0

    iget v13, v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    sget-object v14, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Fav:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-virtual {v14}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v14

    if-ne v13, v14, :cond_1ab

    .line 612
    const-string v13, "IsFavored"

    const/4 v14, 0x1

    move-object/from16 v0, p3

    invoke-virtual {v0, v13, v14}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v7

    .line 613
    .local v7, "isFavored":Z
    if-nez v7, :cond_1ab

    .line 614
    invoke-virtual {v8, v7}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->setFavored(Z)V

    .line 615
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v13

    new-instance v14, Lcom/brixd/niceapp/bus/event/FavStatusChangedEvent;

    sget-object v15, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Fav:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-direct {v14, v15, v8}, Lcom/brixd/niceapp/bus/event/FavStatusChangedEvent;-><init>(Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;Lcom/brixd/niceapp/community/model/CommunityAppModel;)V

    invoke-virtual {v13, v14}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    .line 619
    .end local v7    # "isFavored":Z
    :cond_1ab
    move-object/from16 v0, p0

    iget v13, v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    sget-object v14, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_User:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-virtual {v14}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v14

    if-ne v13, v14, :cond_65

    .line 620
    const-string v13, "IsFavStatusChanged"

    const/4 v14, 0x1

    move-object/from16 v0, p3

    invoke-virtual {v0, v13, v14}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v6

    .line 621
    .local v6, "isFavStatusChanged":Z
    if-eqz v6, :cond_65

    .line 622
    const-string v13, "IsFavored"

    const/4 v14, 0x1

    move-object/from16 v0, p3

    invoke-virtual {v0, v13, v14}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v7

    .line 623
    .restart local v7    # "isFavored":Z
    invoke-virtual {v8, v7}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->setFavored(Z)V

    .line 624
    const-string v13, "community"

    invoke-virtual {v8, v13}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->setSource(Ljava/lang/String;)V

    .line 625
    invoke-virtual/range {p0 .. p0}, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v13

    const v14, 0x7f0c0049

    invoke-virtual {v13, v14}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v13

    invoke-virtual {v8, v13}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->setSourceTitle(Ljava/lang/String;)V

    .line 626
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v13

    new-instance v14, Lcom/brixd/niceapp/bus/event/FavStatusChangedEvent;

    sget-object v15, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Fav:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-direct {v14, v15, v8}, Lcom/brixd/niceapp/bus/event/FavStatusChangedEvent;-><init>(Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;Lcom/brixd/niceapp/community/model/CommunityAppModel;)V

    invoke-virtual {v13, v14}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    goto/16 :goto_65

    .line 575
    .end local v6    # "isFavStatusChanged":Z
    .end local v7    # "isFavored":Z
    .restart local v1    # "appModel":Lcom/brixd/niceapp/community/model/CommunityAppModel;
    :cond_1f1
    move-object/from16 v0, p0

    iget v13, v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    sget-object v14, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_New:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-virtual {v14}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v14

    if-ne v13, v14, :cond_20d

    .line 576
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v13

    new-instance v14, Lcom/brixd/niceapp/bus/event/EditCommunityAppModelEvent;

    sget-object v15, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Hot:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-direct {v14, v15, v1}, Lcom/brixd/niceapp/bus/event/EditCommunityAppModelEvent;-><init>(Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;Lcom/brixd/niceapp/community/model/CommunityAppModel;)V

    invoke-virtual {v13, v14}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    goto/16 :goto_164

    .line 577
    :cond_20d
    move-object/from16 v0, p0

    iget v13, v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    sget-object v14, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_User:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-virtual {v14}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v14

    if-eq v13, v14, :cond_225

    move-object/from16 v0, p0

    iget v13, v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    sget-object v14, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Fav:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-virtual {v14}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v14

    if-ne v13, v14, :cond_164

    .line 578
    :cond_225
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v13

    new-instance v14, Lcom/brixd/niceapp/bus/event/EditCommunityAppModelEvent;

    sget-object v15, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_New:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-direct {v14, v15, v1}, Lcom/brixd/niceapp/bus/event/EditCommunityAppModelEvent;-><init>(Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;Lcom/brixd/niceapp/community/model/CommunityAppModel;)V

    invoke-virtual {v13, v14}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    .line 579
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v13

    new-instance v14, Lcom/brixd/niceapp/bus/event/EditCommunityAppModelEvent;

    sget-object v15, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Hot:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-direct {v14, v15, v1}, Lcom/brixd/niceapp/bus/event/EditCommunityAppModelEvent;-><init>(Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;Lcom/brixd/niceapp/community/model/CommunityAppModel;)V

    invoke-virtual {v13, v14}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    goto/16 :goto_164

    .line 583
    .end local v1    # "appModel":Lcom/brixd/niceapp/community/model/CommunityAppModel;
    .end local v8    # "newModel":Lcom/brixd/niceapp/community/model/CommunityAppModel;
    :cond_243
    const-string v13, "UpNum"

    const/4 v14, 0x0

    move-object/from16 v0, p3

    invoke-virtual {v0, v13, v14}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v12

    .line 584
    .local v12, "upNum":I
    const-string v13, "ShowNum"

    const/4 v14, 0x0

    move-object/from16 v0, p3

    invoke-virtual {v0, v13, v14}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v11

    .line 585
    .local v11, "showNum":I
    const-string v13, "CommentNum"

    const/4 v14, 0x0

    move-object/from16 v0, p3

    invoke-virtual {v0, v13, v14}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v2

    .line 587
    .local v2, "commentNum":I
    move-object/from16 v0, p0

    iget-object v13, v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mAppModels:Ljava/util/ArrayList;

    invoke-virtual {v13, v10}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Lcom/brixd/niceapp/community/model/CommunityAppModel;

    .line 588
    .restart local v8    # "newModel":Lcom/brixd/niceapp/community/model/CommunityAppModel;
    if-ltz v12, :cond_279

    .end local v12    # "upNum":I
    :goto_26a
    invoke-virtual {v8, v12}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->setUpTimes(I)V

    .line 589
    if-ltz v11, :cond_27e

    .end local v11    # "showNum":I
    :goto_26f
    invoke-virtual {v8, v11}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->setShowTimes(I)V

    .line 590
    if-ltz v2, :cond_283

    .end local v2    # "commentNum":I
    :goto_274
    invoke-virtual {v8, v2}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->setCommentTimes(I)V

    goto/16 :goto_164

    .line 588
    .restart local v2    # "commentNum":I
    .restart local v11    # "showNum":I
    .restart local v12    # "upNum":I
    :cond_279
    invoke-virtual {v8}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->getUpTimes()I

    move-result v12

    goto :goto_26a

    .line 589
    .end local v12    # "upNum":I
    :cond_27e
    invoke-virtual {v8}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->getShowTimes()I

    move-result v11

    goto :goto_26f

    .line 590
    .end local v11    # "showNum":I
    :cond_283
    invoke-virtual {v8}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->getCommentTimes()I

    move-result v2

    goto :goto_274

    .line 597
    .end local v2    # "commentNum":I
    :cond_288
    move-object/from16 v0, p0

    iget v13, v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    sget-object v14, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_New:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-virtual {v14}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v14

    if-ne v13, v14, :cond_2a4

    .line 598
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v13

    new-instance v14, Lcom/brixd/niceapp/bus/event/UpdateBottomNumsEvent;

    sget-object v15, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Hot:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-direct {v14, v15, v8}, Lcom/brixd/niceapp/bus/event/UpdateBottomNumsEvent;-><init>(Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;Lcom/brixd/niceapp/community/model/CommunityAppModel;)V

    invoke-virtual {v13, v14}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    goto/16 :goto_183

    .line 599
    :cond_2a4
    move-object/from16 v0, p0

    iget v13, v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    sget-object v14, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_User:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-virtual {v14}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v14

    if-ne v13, v14, :cond_2dc

    .line 600
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v13

    new-instance v14, Lcom/brixd/niceapp/bus/event/UpdateBottomNumsEvent;

    sget-object v15, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_New:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-direct {v14, v15, v8}, Lcom/brixd/niceapp/bus/event/UpdateBottomNumsEvent;-><init>(Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;Lcom/brixd/niceapp/community/model/CommunityAppModel;)V

    invoke-virtual {v13, v14}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    .line 601
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v13

    new-instance v14, Lcom/brixd/niceapp/bus/event/UpdateBottomNumsEvent;

    sget-object v15, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Hot:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-direct {v14, v15, v8}, Lcom/brixd/niceapp/bus/event/UpdateBottomNumsEvent;-><init>(Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;Lcom/brixd/niceapp/community/model/CommunityAppModel;)V

    invoke-virtual {v13, v14}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    .line 602
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v13

    new-instance v14, Lcom/brixd/niceapp/bus/event/UpdateBottomNumsEvent;

    sget-object v15, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Fav:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-direct {v14, v15, v8}, Lcom/brixd/niceapp/bus/event/UpdateBottomNumsEvent;-><init>(Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;Lcom/brixd/niceapp/community/model/CommunityAppModel;)V

    invoke-virtual {v13, v14}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    goto/16 :goto_183

    .line 603
    :cond_2dc
    move-object/from16 v0, p0

    iget v13, v0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mType:I

    sget-object v14, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Fav:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-virtual {v14}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v14

    if-ne v13, v14, :cond_183

    .line 604
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v13

    new-instance v14, Lcom/brixd/niceapp/bus/event/UpdateBottomNumsEvent;

    sget-object v15, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_New:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-direct {v14, v15, v8}, Lcom/brixd/niceapp/bus/event/UpdateBottomNumsEvent;-><init>(Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;Lcom/brixd/niceapp/community/model/CommunityAppModel;)V

    invoke-virtual {v13, v14}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    .line 605
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v13

    new-instance v14, Lcom/brixd/niceapp/bus/event/UpdateBottomNumsEvent;

    sget-object v15, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Hot:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-direct {v14, v15, v8}, Lcom/brixd/niceapp/bus/event/UpdateBottomNumsEvent;-><init>(Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;Lcom/brixd/niceapp/community/model/CommunityAppModel;)V

    invoke-virtual {v13, v14}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    .line 606
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v13

    new-instance v14, Lcom/brixd/niceapp/bus/event/UpdateBottomNumsEvent;

    sget-object v15, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_User:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-direct {v14, v15, v8}, Lcom/brixd/niceapp/bus/event/UpdateBottomNumsEvent;-><init>(Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;Lcom/brixd/niceapp/community/model/CommunityAppModel;)V

    invoke-virtual {v13, v14}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    goto/16 :goto_183
.end method

.method public refreshList()V
    .registers 2

    .prologue
    .line 417
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mPullToRefreshView:Lcom/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase;

    if-eqz v0, :cond_9

    .line 418
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mPullToRefreshView:Lcom/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase;

    invoke-virtual {v0}, Lcom/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase;->setRefreshing()V

    .line 420
    :cond_9
    return-void
.end method

.method public setCommonUser(Lcom/brixd/niceapp/model/CommonUserModel;)V
    .registers 2
    .param p1, "user"    # Lcom/brixd/niceapp/model/CommonUserModel;

    .prologue
    .line 94
    iput-object p1, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mCommonUser:Lcom/brixd/niceapp/model/CommonUserModel;

    .line 95
    return-void
.end method

.method public setEmptyViewBottomMargin(I)V
    .registers 5
    .param p1, "margin"    # I

    .prologue
    const/4 v2, 0x0

    .line 407
    iget-object v1, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mPullToRefreshView:Lcom/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase;

    if-eqz v1, :cond_1e

    iget-object v1, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mPullToRefreshView:Lcom/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase;

    invoke-virtual {v1}, Lcom/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase;->getRefreshableView()Landroid/view/View;

    move-result-object v1

    if-eqz v1, :cond_1e

    .line 408
    iget-object v1, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mPullToRefreshView:Lcom/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase;

    invoke-virtual {v1}, Lcom/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase;->getRefreshableView()Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/AbsListView;

    invoke-virtual {v1}, Landroid/widget/AbsListView;->getEmptyView()Landroid/view/View;

    move-result-object v0

    .line 409
    .local v0, "emptyView":Landroid/view/View;
    if-eqz v0, :cond_1e

    .line 410
    invoke-virtual {v0, v2, v2, v2, p1}, Landroid/view/View;->setPadding(IIII)V

    .line 414
    .end local v0    # "emptyView":Landroid/view/View;
    :cond_1e
    return-void
.end method

.method public setHeaderView(Landroid/view/View;)V
    .registers 2
    .param p1, "view"    # Landroid/view/View;

    .prologue
    .line 98
    iput-object p1, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mHeaderView:Landroid/view/View;

    .line 99
    return-void
.end method

.method public setOnScrollListener(Landroid/widget/AbsListView$OnScrollListener;)V
    .registers 2
    .param p1, "listener"    # Landroid/widget/AbsListView$OnScrollListener;

    .prologue
    .line 423
    iput-object p1, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mOnScrollListener:Landroid/widget/AbsListView$OnScrollListener;

    .line 424
    return-void
.end method

.method public setOnTouchListener(Landroid/view/View$OnTouchListener;)V
    .registers 2
    .param p1, "listener"    # Landroid/view/View$OnTouchListener;

    .prologue
    .line 427
    iput-object p1, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mOnTouchListener:Landroid/view/View$OnTouchListener;

    .line 428
    return-void
.end method

.method public setOrder(Ljava/lang/String;)V
    .registers 2
    .param p1, "order"    # Ljava/lang/String;

    .prologue
    .line 106
    iput-object p1, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mOrder:Ljava/lang/String;

    .line 107
    return-void
.end method

.method public setTag(Lcom/brixd/niceapp/model/TagModel;)V
    .registers 2
    .param p1, "tag"    # Lcom/brixd/niceapp/model/TagModel;

    .prologue
    .line 102
    iput-object p1, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mTag:Lcom/brixd/niceapp/model/TagModel;

    .line 103
    return-void
.end method

.method protected showDialog()V
    .registers 6

    .prologue
    .line 365
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mProgressHUD:Lcom/zuiapps/suite/utils/hud/ProgressHUD;

    if-nez v0, :cond_1c

    .line 366
    invoke-virtual {p0}, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    const-string v1, ""

    const v2, 0x7f040003

    const/4 v3, 0x1

    const/4 v4, 0x0

    invoke-static {v0, v1, v2, v3, v4}, Lcom/zuiapps/suite/utils/hud/ProgressHUD;->show(Landroid/content/Context;Ljava/lang/CharSequence;IZLandroid/content/DialogInterface$OnCancelListener;)Lcom/zuiapps/suite/utils/hud/ProgressHUD;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mProgressHUD:Lcom/zuiapps/suite/utils/hud/ProgressHUD;

    .line 367
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mProgressHUD:Lcom/zuiapps/suite/utils/hud/ProgressHUD;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/zuiapps/suite/utils/hud/ProgressHUD;->setCanceledOnTouchOutside(Z)V

    .line 371
    :goto_1b
    return-void

    .line 369
    :cond_1c
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mProgressHUD:Lcom/zuiapps/suite/utils/hud/ProgressHUD;

    invoke-virtual {v0}, Lcom/zuiapps/suite/utils/hud/ProgressHUD;->show()V

    goto :goto_1b
.end method

.method public updateBottomNums(Lcom/brixd/niceapp/community/model/CommunityAppModel;)V
    .registers 8
    .param p1, "model"    # Lcom/brixd/niceapp/community/model/CommunityAppModel;

    .prologue
    .line 478
    iget-object v3, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mPullToRefreshView:Lcom/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "show_"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {p1}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->getId()I

    move-result v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Lcom/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase;->findViewWithTag(Ljava/lang/Object;)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    .line 479
    .local v1, "showNumTxt":Landroid/widget/TextView;
    iget-object v3, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mPullToRefreshView:Lcom/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "up_"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {p1}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->getId()I

    move-result v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Lcom/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase;->findViewWithTag(Ljava/lang/Object;)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    .line 480
    .local v2, "upNumTxt":Landroid/widget/TextView;
    iget-object v3, p0, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->mPullToRefreshView:Lcom/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "comment_"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {p1}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->getId()I

    move-result v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Lcom/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase;->findViewWithTag(Ljava/lang/Object;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 481
    .local v0, "commentNumTxt":Landroid/widget/TextView;
    if-eqz v1, :cond_79

    .line 482
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {p1}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->getShowTimes()I

    move-result v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 484
    :cond_79
    if-eqz v2, :cond_95

    .line 485
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {p1}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->getUpTimes()I

    move-result v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 487
    :cond_95
    if-eqz v0, :cond_b1

    .line 488
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {p1}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->getCommentTimes()I

    move-result v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 490
    :cond_b1
    return-void
.end method
